package com.sky.mapper.admin;

import com.sky.pojo.Category;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @Description CategoryMapper
 * @Author 王富贵
 * @Date 2024-10-06
 */
public interface CategoryMapper {
    @Select("select * from category")
    List<Category> findAll();

    List<Category> list(Integer type);
}
